﻿
using System.Web.Mvc;
using SmallShop.BaseWeb;

namespace SmallShop.ManagerWeb
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
            filters.Add(new SmallAuthorizeAttribute()); //所有的请求默认要通过认证
        }
    }
}
